package com.song.service.menu;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.song.dao.menu.RoleMenuDao;
import com.song.dao.role.RoleDao;
import com.song.dao.role.UserRoleDao;
import com.song.entity.menu.RoleMenu;
import com.song.entity.role.UserRole;
import com.song.entity.role.UserRoleInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("roleMenuService")
public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuDao,RoleMenu> implements RoleMenuService {

    @Autowired
    private RoleMenuDao roleMenuDao;

    @Override
    public int batAddRoleMenus(List<RoleMenu> list) {
        return roleMenuDao.batAddRoleMenus(list);
    }
}







